var marked = require('marked');
var NewPost = require('../lib/mongo').New;

module.exports = {
    // 创建一篇文章
    create: function create(article) {
        return NewPost.create(article).exec();
    }
};